package com.clock.message.service;

import com.clock.message.dto.NcMessageDto;
import com.clock.message.dto.NcMessageQueryDTO;
import com.clock.message.pojo.NcMessage;

import java.util.List;

public interface MessageService {
    void pushMessage(NcMessage message)throws Exception;

    List<NcMessageDto> getMessageHistory(NcMessageQueryDTO messageQueryDTO);

    void updateMessageWithApproved(String message);

    void refuseMessageWithApproved(String message);
}
